<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<html>
<head>
<title>注册页面</title>
<s:head theme="ajax"/>
<script type="text/javascript" language="javascript">
	function go()
	{
		location.href = "../main/main.jsp";
	}
</script>
</head>
<body>
<s:form action="addLoginInfo" namespace="/login" method="post" theme="simple">
	<table>
		<tr>
			<td>地址：</td>
			<td><s:select list="{'吉林','黑龙江'}" name="userInfo.liveProvince"></s:select> 省
			           <s:textfield name="userInfo.liveCity" size="15"></s:textfield>市</td>
		</tr>
		<tr>
			<td>性别：</td>
			<td><s:radio name="userInfo.sex" list="#{'true':'男','false':'女'}" listKey="key" listValue="value"></s:radio> </td>
		</tr>
		<tr>
			<td>生日：</td>
			<td><s:datetimepicker name="userInfo.birthday" value="today"/> </td>
		</tr>
		<tr>
			<td>自我介绍：</td>
			<td><s:textarea name="userInfo.description" cols="35" rows="15"/> </td>
		</tr>
		<tr>
			<td colspan="2"><s:submit value="提交"/>
			<s:reset value="重置"/>
			<input type="button" value="跳过" onclick="go()"> </td>
		</tr>
	</table>
</s:form>
</body>
</html>